package com.sdleyou.treepro.common.service;

import com.sdleyou.treepro.common.model.vo.CompanyRankListVO;
import com.sdleyou.treepro.common.model.vo.UserRankListVO;

public interface UserRankManager {
    /**
     * 个人排行榜数据
     *
     * @param pageSize
     * @param pageNum
     * @param userId
     * @return
     */
    UserRankListVO userRank(Integer pageSize, Integer pageNum, String userId);

    /**
     * 企业排行榜数据
     *
     * @param pageSize
     * @param pageNum
     * @param companyId
     * @return
     */
    CompanyRankListVO companyRank(Integer pageSize, Integer pageNum, String companyId);
}
